package com.cloud.pole.advert.biz;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import org.apache.ibatis.annotations.Options;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.ace.cache.annotation.Cache;
import com.ace.cache.annotation.CacheClear;
import com.cloud.pole.advert.model.entity.Advert;
import com.cloud.pole.advert.model.entity.AdvertPos;
import com.cloud.pole.common.biz.BaseBiz;
import com.cloud.pole.mapper.AdvertMapper;
import com.cloud.pole.mapper.AdvertPosMapper;

/**
 * ${DESCRIPTION}
 *
 * @author wanghaobin
 * @create 2017-06-08 16:23
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class AdvertPosBiz extends BaseBiz<AdvertPosMapper, AdvertPos> {

	@Cache(key="advertPos{1}")
    public AdvertPos selectByPrimaryKey(Integer id) {
        return mapper.selectByPrimaryKey(id);
    }
}
